package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmSensitive;

public interface WmSensitiveService extends IService<WmSensitive> {

    /**
     * 分页查询
     * @param sensitiveDto
     * @return
     */
    PageResponseResult listSensitive(SensitiveDto sensitiveDto);

    /**
     * 根据id删除
     * @param id
     * @return
     */
    ResponseResult delete(Integer id);
}
